package com.fastbee.iot.domain;

import com.fastbee.common.annotation.Excel;
import com.fastbee.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * 工厂对象 whhx_factories
 *
 * @author kerwincui
 * @date 2021-12-16
 */
@ApiModel(value = "Factories", description = "工厂对象 whhx_factories")
public class WhhxFactories extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工厂ID */
    @ApiModelProperty("工厂ID")
    private String id;

    /** 工厂名称 */
    @ApiModelProperty("工厂名称")
    @Excel(name = "工厂名称")
    private String name;

    /** 创建时间 */
    @ApiModelProperty("创建时间")
    @Excel(name = "创建时间")
    private LocalDateTime createAt;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDateTime getCreateAt() {
        return createAt;
    }

    public void setCreateAt(LocalDateTime createAt) {
        this.createAt = createAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("createAt", getCreateAt())
            .toString();
    }
}
